<template>
	<view>
<!-- 		<apLogin @cutLogin="cutLogin" v-show="isShow"></apLogin>
		<verCodeLogin @cutLogin="cutLogin" v-show="!isShow"></verCodeLogin> -->
		<verCodeLogin @cutLogin="cutLogin"></verCodeLogin>
	</view>
</template>

<script>
	import apLogin from "./apLogin.vue"
	import verCodeLogin from "./verCodeLogin.vue"
	export default {
		components: {
			apLogin,
			verCodeLogin
		},
		data() {
			return {
			}
		},
		methods: {
			cutLogin() {
				this.isShow = !this.isShow;
			}
		},
		onBackPress(e) {
			console.log(123);
			uni.switchTab({
				url: "/pages/home/home"
			})
			return true;
		},
		onReady() {
			uni.setNavigationBarTitle({ title: this.$t("login.title")});
		}
	}
</script>

<style>

</style>